package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 举报对象 jiajia_ju_bao
 * 
 * @author knd
 * @date 2021-10-14
 */
public class JiajiaJuBao extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 社工id */
    @Excel(name = "社工id")
    private Long wid;

    /** 原因 */
    @Excel(name = "原因")
    private String notes;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 图片路径 */
    @Excel(name = "图片路径")
    private String url;

    /** 用户id */
    @Excel(name = "用户id")
    private Long uid;

    /** 添加时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm.ss")
    @Excel(name = "添加时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addtime;

    /**社工名字*/
    @Excel(name = "社工名字")
    private String jiShiName;

    /**用户名字*/
    @Excel(name = "用户名字")
    private String userName;

    public String getJiShiName() {
        return jiShiName;
    }

    public void setJiShiName(String jiShiName) {
        this.jiShiName = jiShiName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setWid(Long wid) 
    {
        this.wid = wid;
    }

    public Long getWid() 
    {
        return wid;
    }
    public void setNotes(String notes) 
    {
        this.notes = notes;
    }

    public String getNotes() 
    {
        return notes;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }
    public void setAddtime(Date addtime) 
    {
        this.addtime = addtime;
    }

    public Date getAddtime() 
    {
        return addtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("wid", getWid())
            .append("notes", getNotes())
            .append("content", getContent())
            .append("url", getUrl())
            .append("uid", getUid())
            .append("addtime", getAddtime())
            .toString();
    }
}
